<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>js array</title>
		<script>
			var ar=[10,2,32,52,6,8,92,114,12,156];
			alert(ar.join("#"));
			//判断Ar中的每个数都是偶数
			let b=ar.every(x=>x%2==0);
			alert(b);
			//把所有超过15的组成一个新数组
			var a2=ar.filter(x=>x>15);
			alert(a2.join("?"));
			var a3=ar.map(x=>x%3);
			alert(a3.join(","));
		</script>
	</head>
	<body>
	</body>
</html>